<?php

namespace App\Services\Api;

/**
 * 获取需求列表
 */
class PCMT1000011
{
    public $apiCode = 'PCMT#1000011';
    public $pageNo = 1;
    public $pageSize = 10;

    public function getInitPostData($postData)
    {
        return [
            'page_num' => $this->getPageNo(@$postData['pageNo']),
            'limit_num' => $this->getPageSize(@$postData['pageSize']),
        ];
    }
    public function getPageNo($pageNo = '')
    {
        return $pageNo ? $pageNo : $this->pageNo;
    }

    public function getPageSize($pageSize = '')
    {
        return $pageSize ? $pageSize : $this->pageSize;
    }
    public function getInitApiCode()
    {
        return $this->apiCode;
    }

}
